<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    图片大小<input type="text" v-model.number="width">
    <br>
    <label for="mv1">美女1</label>
    <input type="radio" id="mv1" v-model="url" value="https://img0.baidu.com/it/u=3260750219,3028143059&fm=253&fmt=auto&app=120&f=JPEG?w=1422&h=800" >
    <label for="mv2">美女2</label>
    <input type="radio" id="mv2" v-model="url"  value="https://img1.baidu.com/it/u=640593135,209279600&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500" >
    <hr>

    
    <img :src="url" alt="" v-bind:width="width">
  </div>

  <script src="./vue.global.js"></script>
  <script>
    const msg2 = '哈哈哈'
    const { createApp } = Vue;
    const app = createApp({
      data(){
        return {
          url: 'https://img0.baidu.com/it/u=3260750219,3028143059&fm=253&fmt=auto&app=120&f=JPEG?w=1422&h=800',
          width: 500
        }
      }
    });
    app.mount('#app');

  </script>
</body>
</html>